package com.silence.thread;

public class MyThread extends Thread   {
    public MyThread(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 1; i <= 5; i++) {
            System.out.println(currentThread().getName()+" sout:" + i);
        }
    }
}
